<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="XmlEditor" targetNamespace="http://www.CrossFactory.net/XmlEditor" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xe="http://www.CrossFactory.net/XmlEditor">
	<xs:attribute name="id" type="xs:string" />
	<xs:attribute name="label" type="xs:string" />
	<xs:attribute name="property" type="xs:boolean" />
	<xs:attribute name="hasEnumeration" type="xs:boolean" />
	<xs:attribute name="schemaType" type="xs:string" />
	<xs:attribute name="defaultOccurs" type="xs:string" />
	<xs:attribute name="image" type="xs:boolean" />
	<xs:attribute name="hyperlink" type="xs:boolean" />
	<xs:attribute name="hyperlinkType" type="xe:hyperlinkType" />
	<xs:attribute name="openPropertiesOnCreation" type="xs:boolean" />
	<xs:attribute name="allowHtml" type="xs:boolean" />
  <xs:attribute name="dataType" type="xs:string" />
	
	<xs:simpleType name="hyperlinkType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="image" />
			<xs:enumeration value="localImage" />
			<xs:enumeration value="localFile" />
			<xs:enumeration value="www" />
			<xs:enumeration value="page" />
			<xs:enumeration value="file" />
			<xs:enumeration value="page,file" />
			<xs:enumeration value="page,image" />
			<xs:enumeration value="www,page" />
			<xs:enumeration value="www,file" />
			<xs:enumeration value="www,image" />
			<xs:enumeration value="www,page,file" />
			<xs:enumeration value="www,page,image" />
			<xs:enumeration value="wf_activity" />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
